<?php /*a:7:{s:85:"F:\phpstudy\phpstudy1\phpstudy_pro\WWW\test\heco\bnb_dapp\view\admin\index\index.html";i:1649813145;s:85:"F:\phpstudy\phpstudy1\phpstudy_pro\WWW\test\heco\bnb_dapp\view\admin\public\base.html";i:1648694629;s:93:"F:\phpstudy\phpstudy1\phpstudy_pro\WWW\test\heco\bnb_dapp\view\admin\public\admin_load_t.html";i:1648694629;s:90:"F:\phpstudy\phpstudy1\phpstudy_pro\WWW\test\heco\bnb_dapp\view\admin\public\admin_top.html";i:1648694629;s:91:"F:\phpstudy\phpstudy1\phpstudy_pro\WWW\test\heco\bnb_dapp\view\admin\public\admin_left.html";i:1648694629;s:93:"F:\phpstudy\phpstudy1\phpstudy_pro\WWW\test\heco\bnb_dapp\view\admin\public\admin_bottom.html";i:1648694629;s:93:"F:\phpstudy\phpstudy1\phpstudy_pro\WWW\test\heco\bnb_dapp\view\admin\public\admin_load_b.html";i:1648694629;}*/ ?>
<?php if(ISPJAX != true): ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<?php endif; ?>
<title><?php echo config('dbconfig.sys.top_big_logo'); ?></title>
<?php if(ISPJAX != true): ?>
<link rel="stylesheet" type="text/css" href="/static/global/font-awesome/css/font-awesome.min.css" />
<link rel="stylesheet" type="text/css" href="/static/global/select2/select2.min.css" />
<link rel="stylesheet" type="text/css" href="/static/global/icheck/flat/green.css" />
<link rel="stylesheet" type="text/css" href="/static/global/datetimepicker/bootstrap-datetimepicker.min.css" />
<link rel="stylesheet" type="text/css" href="/static/global/bootstrap/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="/static/system/dist/css/AdminLTE.min.css" />
<link rel="stylesheet" type="text/css" href="/static/system/dist/css/skin-blue.min.css" />
<script type="text/javascript" src="/static/global/jquery/jquery-2.2.3.min.js"></script>
<script type="text/javascript" src="/static/global/bootstrap/js/bootstrap.min.js"></script>
<!--[if lt IE 9]>
<script type="text/javascript" src="/static/global/common/js/html5shiv.min.js"></script>
<script type="text/javascript" src="/static/global/common/js/respond.min.js"></script>
<![endif]-->
<?php endif; if(ISPJAX != true): ?>
</head>
<body class="hold-transition skin-blue fixed sidebar-mini">
<div class="wrapper">
<?php endif; if(ISPJAX != true): ?>
<header class="main-header">
    <a class="logo hidden-xs">
        <span class="logo-mini"><?php echo config('dbconfig.sys.top_small_logo'); ?></span>
        <span class="logo-lg"><?php echo config('dbconfig.sys.top_big_logo'); ?></span>
    </a>
    <nav class="navbar navbar-static-top">
        <a href="javacript:void(0);" class="sidebar-toggle" title="展开主菜单" data-toggle="push-menu" role="button">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
        </a>
        <div class="navbar-custom-menu">
            <ul class="nav navbar-nav">
                <li><a href="<?php echo request()->domain(); ?>" target="_blank"><i class="fa fa-home"></i> <?php echo lang('web_home'); ?></a></li>
                <li><a href="<?php echo url('Login/LoginLock'); ?>" ><i class="fa fa-desktop"></i> <?php echo lang('lock_btn'); ?></a></li>
                <?php echo auth_action('Index/cleanCache', 'clean_cache', lang('clean_cache'), -1, '', '', 'paint-brush'); ?>
                <li class="dropdown user user-menu">
                    <a href="javacript:void(0);" class="dropdown-toggle" data-toggle="dropdown">
                        <img src="<?php echo cookie('admin_avatar'); ?>" class="user-image" alt="User Image">
                        <span class="hidden-xs"><?php echo cookie('admin_name'); ?></span>
                    </a>
                    <ul class="dropdown-menu">
                        <li><?php echo auth_action('Admin/editSelf', 'a', lang('edit_self'), [], 'flat', 'default', 'user-o'); ?></li>
                        <li><a href="<?php echo url('Login/LoginOut'); ?>" class="btn btn-default btn-flat last"><i class="fa fa-sign-out"></i> <?php echo lang('sign_out'); ?></a></li>
                    </ul>
                </li>
            </ul>
        </div>
    </nav>
</header>
<?php endif; if(ISPJAX != true): ?>
<aside class="main-sidebar">
    <section class="sidebar">
        <ul class="sidebar-menu" data-widget="tree">
            <?php if(is_array($treeMenu) || $treeMenu instanceof \think\Collection || $treeMenu instanceof \think\Paginator): $i = 0; $__LIST__ = $treeMenu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
            <li class="<?php if(!empty($vo['_child'])): ?>treeview <?php endif; if(in_array($vo['id'], $activeMenus)): ?>active menu-open<?php endif; ?>">
                <a href="<?php if(!empty($vo['_child'])): ?>javascript:void(0);<?php else: ?><?php echo url($vo['name']); ?><?php endif; ?>">
                    <i class="<?php echo $vo['icon']; ?>"></i><span><?php echo $vo['title']; ?></span>
                    <?php if(!empty($vo['_child'])): ?>
                    <span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
                    <?php endif; ?>
                </a>
                <?php if(!empty($vo['_child'])): ?>
                <ul class="treeview-menu" <?php if(in_array($vo['id'], $activeMenus)): ?>style="display:block;"<?php endif; ?>>
                    <?php if(is_array($vo['_child']) || $vo['_child'] instanceof \think\Collection || $vo['_child'] instanceof \think\Paginator): $i = 0; $__LIST__ = $vo['_child'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo2): $mod = ($i % 2 );++$i;?>
                    <li <?php if(in_array($vo2['id'], $activeMenus)): ?>class="active"<?php endif; ?>><a href="<?php echo url($vo2['name']); ?>"><i class="<?php echo $vo2['icon']; ?>"></i><?php echo $vo2['title']; ?></a></li>
                    <?php endforeach; endif; else: echo "" ;endif; ?>
                </ul>
                <?php endif; ?>
            </li>
            <?php endforeach; endif; else: echo "" ;endif; ?>
        </ul>
    </section>
</aside>
<?php endif; ?>
<div class="content-wrapper" id="pjax-container">

<section class="content">
    <div class="row">
        <div class="col-lg-3 col-sm-6 col-xs-12">
            <div class="small-box bg-yellow">
                <div class="inner"><h4><?php echo $data['admin_total']; ?></h4><p><?php echo lang('admin_total'); ?></p></div>
                <div class="icon"><i class="fa fa-users"></i></div>
<!--                <a href="<?php echo url('Admin/index'); ?>" class="small-box-footer"><?php echo lang('more'); ?> <i class="fa fa-arrow-circle-right"></i></a>-->
            </div>
        </div>
        <div class="col-lg-3 col-sm-6 col-xs-12">
            <div class="small-box bg-green">
                <div class="inner"><h4><?php echo $data['user_total']; ?></h4><p>会员总数</p></div>
                <div class="icon"><i class="fa fa-user-plus"></i></div>
<!--                <a href="<?php echo url('Member/index'); ?>" class="small-box-footer"><?php echo lang('more'); ?> <i class="fa fa-arrow-circle-right"></i></a>-->
            </div>
        </div>
        <div class="col-lg-3 col-sm-6 col-xs-12">
            <div class="small-box bg-aqua">
                <div class="inner"><h4><?php echo $data['yesterday_user_num']; ?></h4><p>昨日新增会员</p></div>
                <div class="icon"><i class="fa fa-file-text"></i></div>
            </div>
        </div>
        <div class="col-lg-3 col-sm-6 col-xs-12">
            <div class="small-box bg-red">
                <div class="inner"><h4><?php echo $data['yesterday_pledge_lp_num']; ?></h4><p>昨日质押LP数量</p></div>
                <div class="icon"><i class="fa fa-commenting"></i></div>
            </div>
        </div>
        <div class="col-lg-3 col-sm-6 col-xs-12">
            <div class="small-box bg-yellow">
                <div class="inner"><h4><?php echo $data['yesterday_rele_pledge_lp_num']; ?></h4><p>昨日解押LP数量</p></div>
                <div class="icon"><i class="fa fa-commenting"></i></div>
            </div>
        </div>
        <div class="col-lg-3 col-sm-6 col-xs-12">
            <div class="small-box bg-green">
                <div class="inner"><h4><?php echo $data['yesterday_cash_token_money']; ?></h4><p>昨日提取代币数量</p></div>
                <div class="icon"><i class="fa fa-commenting"></i></div>
            </div>
        </div>
        <?php if(0): ?>
            <div class="col-lg-3 col-sm-6 col-xs-12">
                <div class="small-box bg-aqua">
                    <div class="inner"><h3><?php echo $data['archive_total']; ?></h3><p><?php echo lang('archive_total'); ?></p></div>
                    <div class="icon"><i class="fa fa-file-text"></i></div>
    <!--                <a href="<?php echo url('Archive/index'); ?>" class="small-box-footer"><?php echo lang('more'); ?> <i class="fa fa-arrow-circle-right"></i></a>-->
                </div>
            </div>
            <div class="col-lg-3 col-sm-6 col-xs-12">
                <div class="small-box bg-red">
                    <div class="inner"><h3><?php echo $data['comment_total']; ?></h3><p><?php echo lang('comment_total'); ?></p></div>
                    <div class="icon"><i class="fa fa-commenting"></i></div>
    <!--                <a href="<?php echo url('Comment/index'); ?>" class="small-box-footer"><?php echo lang('more'); ?> <i class="fa fa-arrow-circle-right"></i></a>-->
                </div>
            </div>
        <?php endif; ?>
        
        <div class="clearfix"></div>
        <?php if(0): ?>
        <div class="col-lg-6 col-sm-6 col-xs-12">
            <div class="box box-primary">
                <div class="box-header with-border">
                    <h3 class="box-title"><?php echo lang('login_30_count'); ?></h3>
                </div>
                <div class="box-body">
                    <canvas id="login-line" height="312"></canvas>
                </div>
            </div>
        </div>
        <div class="col-lg-6 col-sm-6 col-xs-12">
            <div class="box box-primary">
                <div class="box-header">
                    <h3 class="box-title"><?php echo lang('login_new'); ?></h3>
                </div>
                <div class="box-body no-padding">
                    <table class="table table-hover">
                        <tr>
                            <th><?php echo lang('login_l_ip'); ?></th>
                            <th><?php echo lang('login_l_address'); ?></th>
                            <th><?php echo lang('login_l_time'); ?></th>
                        </tr>
                        <?php if(is_array($data['login_list']) || $data['login_list'] instanceof \think\Collection || $data['login_list'] instanceof \think\Paginator): $i = 0; $__LIST__ = $data['login_list'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                        <tr>
                            <td><span class="label label-success"><?php echo $vo['ip']; ?></span></td>
                            <td><?php echo $vo['country']; ?> <?php echo $vo['province']; ?> <?php echo $vo['city']; ?> <?php echo $vo['district']; ?></td>
                            <td><?php echo time_line($vo['create_time']); ?></td>
                        </tr>
                        <?php endforeach; endif; else: echo "" ;endif; ?>
                    </table>
                </div>
            </div>
        </div>
        <?php endif; ?>
        
        <div class="clearfix"></div>
        <?php if(0): ?>
        <div class="col-lg-6 col-sm-6 col-xs-12">
            <div class="box box-primary">
                <div class="box-header">
                    <h3 class="box-title"><?php echo lang('system_config'); ?></h3>
                </div>
                <div class="box-body no-padding">
                    <table class="table table-hover">
                        <?php if(is_array($data['system_config']) || $data['system_config'] instanceof \think\Collection || $data['system_config'] instanceof \think\Paginator): $i = 0; $__LIST__ = $data['system_config'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                        <tr>
                            <td><?php echo $key; ?>：<?php echo $vo; ?></td>
                        </tr>
                        <?php endforeach; endif; else: echo "" ;endif; ?>
                    </table>
                </div>
            </div>
        </div>
        <div class="col-lg-6 col-sm-6 col-xs-12">
            <div class="box box-primary">
                <div class="box-header with-border">
                    <h3 class="box-title"><?php echo lang('system_widgets'); ?></h3>
                </div>
                <div class="box-body">
                    <a href="<?php echo url('Widgets/widgetInput'); ?>" class="btn btn-app">
                        <i class="fa fa-gear"></i> Input
                    </a>
                    <a href="<?php echo url('Widgets/widgetSelect'); ?>" class="btn btn-app">
                        <i class="fa fa-gear"></i> Select
                    </a>
                    <a href="<?php echo url('Widgets/widgetTextarea'); ?>" class="btn btn-app">
                        <i class="fa fa-gear"></i> Textarea
                    </a>
                    <a href="<?php echo url('Widgets/widgetCheckbox'); ?>" class="btn btn-app">
                        <i class="fa fa-gear"></i> Checkbox
                    </a>
                    <a href="<?php echo url('Widgets/widgetRadio'); ?>" class="btn btn-app">
                        <i class="fa fa-gear"></i> Radio
                    </a>
                    <a href="<?php echo url('Widgets/widgetDate'); ?>" class="btn btn-app">
                        <i class="fa fa-gear"></i> Date
                    </a>
                    <a href="<?php echo url('Widgets/widgetContent'); ?>" class="btn btn-app">
                        <i class="fa fa-gear"></i> Content
                    </a>
                    <a href="<?php echo url('Widgets/widgetFileUpload'); ?>" class="btn btn-app">
                        <i class="fa fa-gear"></i> FileUpload
                    </a>
                    <a href="<?php echo url('Widgets/widgetText'); ?>" class="btn btn-app">
                        <span class="badge bg-red">new</span>
                        <i class="fa fa-gear"></i> Text
                    </a>
                    <a href="<?php echo url('Widgets/widgetSwitchs'); ?>" class="btn btn-app">
                        <span class="badge bg-red">new</span>
                        <i class="fa fa-gear"></i> Switchs
                    </a>
                </div>
            </div>
        </div>
        <?php endif; ?>
    </div>
</section>
<script>
$(function () {
    var loginline = document.getElementById('login-line').getContext('2d');
    new Chart(loginline, {
        type: 'line',
        data: <?php echo $data['login_line_json']; ?>,
        options: {
            responsive: true,
            maintainAspectRatio: false
        }
    });
});
</script>

</div>
<?php if(ISPJAX != true): ?>
<footer class="main-footer"><div class="pull-right hidden-xs"><?php echo config('dbconfig.sys.version'); ?></div><?php echo htmlspecialchars_decode(config('dbconfig.sys.copyright')); ?></footer>
<?php endif; if(ISPJAX != true): ?>
</div>
<?php endif; if(ISPJAX != true): ?>
<script type="text/javascript" src="/static/global/jquery/jquery.pjax.js"></script>
<script type="text/javascript" src="/static/global/jquery/jquery.form.js"></script>
<link rel="stylesheet" type="text/css" href="/static/global/nprogress/nprogress.css" />
<script type="text/javascript" src="/static/global/nprogress/nprogress.js"></script>
<script type="text/javascript" src="/static/global/jquery-slimscroll/jquery.slimscroll.min.js"></script>
<script type="text/javascript" src="/static/global/layer/layer.js"></script>
<script type="text/javascript" src="/static/global/select2/select2.min.js"></script>
<script type="text/javascript" src="/static/global/select2/i18n/zh-CN.js"></script>
<script type="text/javascript" src="/static/global/icheck/icheck.min.js"></script>
<link rel="stylesheet" type="text/css" href="/static/global/kindeditor/themes/default/default.css" />
<script type="text/javascript" src="/static/global/kindeditor/kindeditor-all.js"></script>
<script type="text/javascript" src="/static/global/kindeditor/lang/zh-CN.js"></script>
<script type="text/javascript" src="/static/global/datetimepicker/moment-with-locales.min.js"></script>
<script type="text/javascript" src="/static/global/datetimepicker/bootstrap-datetimepicker.min.js"></script>
<link rel="stylesheet" type="text/css" href="/static/global/cropper/cropper.main.css" />
<link rel="stylesheet" type="text/css" href="/static/global/cropper/cropper.min.css" />
<script type="text/javascript" src="/static/global/cropper/cropper.main.js"></script>
<script type="text/javascript" src="/static/global/cropper/cropper.min.js"></script>
<script type="text/javascript" src="/static/global/chart/Chart.min.js"></script>
<script type="text/javascript" src="/static/system/dist/js/adminlte.min.js"></script>
<script type="text/javascript" src="/static/system/dist/js/common.js"></script>
<?php endif; if(ISPJAX != true): ?>
</body>
</html>
<?php endif; ?>